package com.ytjj.qmyx.admin.model.response.order;

import com.ytjj.qmyx.mall.model.Orders;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 主订单详情
 */
@Data
public class MainOrderResponse {

    private String orderNo;//主订单号

    private String smallNote;//订单小记

    private OrderMessageResp orderMessageResp; //订单信息

    private PayMessageResp payMessageResp; //支付信息

    private ReceiveMessageResp receiveMessageResp; //收货信息

    private List<ProductMessageResp> productMessageResp; //商品信息

    private ExpressMessageResp expressMessageResp;//快递信息

    private String childOrderNo;//子订单号

    private Integer orderInfoStatus;//订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单;6->退款订单

    private Integer orderId;

    private Integer ordersInfoId;

    private OrderStatusResponse orderStatusResponse;

    private Orders ordersResponse;

    private BigDecimal priceSum;//商品总额

    private BigDecimal realTotalMoney;//实付

    private String serviceRemark;// 客服备注

    /**
     * 订单进度状态
     * 1-提交订单
     * 2-付款成功
     * 3-商品发货
     * 4-用户签收
     * 5-已完成
     */
    private Integer processStatus;
}
